﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yun.Interface;
using Yun.Response;
using Yun.Util;

namespace Yun.Marketing.Request
{
    /// <summary>
    /// 删除专题参与的所有商品
    /// yun.goods.apply.subject.all.remove
    /// </summary>
    public class ApplySubjectAllRemoveRequest : ITopRequest<BoolResultResponse>
    {
        public string GetApiName()
        {
            return "yun.goods.apply.subject.all.remove";
        }
        /// <summary>
        /// 专题ID
        /// </summary>
        public long SubjectId { get; set; }

        public void Validate()
        {
            RequestValidator.ValidateRequired("subjectid", SubjectId);
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"subjectid", SubjectId} 
            };
            return parameters;
        }



    }
}
